package com.wqb.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wqb.server.pojo.Admin;
import com.wqb.server.pojo.Menu;

import java.util.List;


/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 万秋泊
 * @since 2022-03-10
 */
public interface AdminMapper extends BaseMapper<Admin> {

    /**
     * 获取所有操作员
     * @param id 当前登录的用户id
     * @param keywords
     * @return
     */
    List<Admin> getAllAdmins(Integer id, String keywords);
}
